package com.hl.sfzy.service.consultQAService;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.dto.ProblemDTO;
import com.hl.sfzy.entity.consutQA.Problem;
import com.hl.sfzy.entity.consutQA.Reply;

public interface ConsultService {


    public ProblemDTO getProblemAndReply(Long problemId);


    public PageInfo<Problem> getAll(Integer pageNum,Integer pageSize);


    public Problem getProblemById(Long id);

    public int addProblem(Problem problem);

    public int deleteProblem(Long id);

    public int insertProblemComment(Reply reply);
}
